import React, { Component } from 'react'
import styles from "./SearchInput.module.scss";
import { withRouter } from "react-router-dom"
 class SearchInput extends Component {
    render() {
        return (<div className={styles.searchInput} onClick={(params) => {
            this.props.history.push("searchCenter")
        }
        }>
            <div className={styles.searchInputContent}>搜索</div>
        </div>)
    }
}
export default withRouter(SearchInput);